package com.piece.core.framework.enums;

import lombok.Getter;

/**
 * http请求方法名
 */
@Getter
public enum MethodType {

    GET("GET"),
    POST("POST"),
    PUT("PUT"),
    DELETE("DELETE"),
    OPTIONS("OPTIONS"),
    PATCH("PATCH"),
    TRACE("TRACE"),
    HEAD("HEADER"),
    CONNECT("CONNECT");

    private String name;

    MethodType(String name) {
        this.name = name;
    }
}
